/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pnt.server;

import java.net.InetAddress;

/**
 *
 * @author andrew
 */
public abstract class Connection implements Runnable {
    
    /*
     * 1+ = yes (can implement priority queue)
     * 0 = no 
     * -1 = connection terminated
     */
    public abstract int attentionNeeded();
    public abstract void run();
    public abstract boolean close();
    public abstract InetAddress getClientAddress();
    public abstract int getClientPort();
    
}
